Skip to content

Conversation

@mirkoCrobu
Copy link
Contributor

Motivation

A board connected via both USB and Network currently shows up as two separate devices in the board list. This makes it difficult for a client application to know it is the same physical board.

We need a way to "deduplicate" these entries by providing a common identifier, allowing the client to show just one entry for that board.

Change description

Additional Notes

Reviewer checklist

  • PR addresses a single concern.
  • PR title and description are properly filled.
  • Changes will be merged in main.
  • Changes are covered by tests.
  • Logging is meaningful in case of troubleshooting.

@mirkoCrobu mirkoCrobu requested review from a team and lucarin91 November 11, 2025 16:16
@mirkoCrobu mirkoCrobu added the enhancement New feature or request label Nov 11, 2025
@mirkoCrobu
Copy link
Contributor Author

@lucarin91 How can I test it?
How App Lab calls this func?

@lucarin91
Copy link
Contributor

@lucarin91 How can I test it? How App Lab calls this func?

Probably the best solution is just to write a test or an example that uses that library

@mirkoCrobu mirkoCrobu self-assigned this Nov 12, 2025
@mirkoCrobu
Copy link
Contributor Author

@lucarin91 How can I test it? How App Lab calls this func?

Probably the best solution is just to write a test or an example that uses that library

To write a test, I would need to mock all the global variables, including "arduinoCLIServer". But in my opinion, it is not very reliable, and I am not sure it is worth it .
What do you think?

@mirkoCrobu mirkoCrobu requested a review from lucarin91 November 12, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants